package com.spark.lola.mapper.sup;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spark.lola.entity.sup.AccountCertificationApply;
import com.spark.lola.entity.sup.SupplierInfo;
import com.spark.lola.support.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * <p>
 * 认证审核 Mapper 接口
 * </p>
 *
 * @author dengyejun
 * @since 2020-05-06
 */
@Mapper
public interface AccountCertificationApplyMapper extends BaseMapper<AccountCertificationApply> {
    IPage<AccountCertificationApply> page(Page page, @Param(Constants.WRAPPER) Wrapper wrapper);

    @Override
    AccountCertificationApply selectById(Serializable id);

    int checkCompanyName(String companyName, Long id);
}
